package my.maven.project.spiderproc.service;

import java.io.IOException;
import java.util.Collection;
import java.util.List;

import my.maven.project.spiderproc.entity.Word;

public interface IWordService {

	public List<Word> getList();
	 
	public Word getOne(long Id);
	
	public void add(Word entity);
	
	public void addList(List<Word> list);
	
	public void delete(long Id);	 
	
	public boolean update(Word entity);
	
	public void SpiderList(Collection<String> words)throws IOException;
	
	public Word findByWords(String words);
	
	public boolean existsByWords(String words);
	
	public List<Word> findByWordsLike(String words);
	
	public List<Word> findByWordsIn(Collection<String> Words);
	 
	
}
